/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entero;

/**
 *
 * @author Adrian y Sergio
 */
public class Entero {
    
    private Integer indice;

    /**
     * @return the indice
     */
    public Integer getIndice() {
        return indice;
    }

    /**
     * @param indice the indice to set
     */
    public void setIndice(Integer indice) {
        this.indice = indice;
    }
    
    public void incrementarIndice()
    {
        indice++;
    }
    
    @Override
    public String toString()
    {
        return indice.toString();
    }
    
}
